Skip to content

Expand README/Antora/changelog rules; keep established chrome - #4

Open
AMDphreak wants to merge 2 commits into
mainfrom
feature/readme-docs-changelog-rules
Open

Expand README/Antora/changelog rules; keep established chrome#4
AMDphreak wants to merge 2 commits into
mainfrom
feature/readme-docs-changelog-rules

Conversation

@AMDphreak

Copy link
Copy Markdown
Contributor

Summary

  • Adds format-choice, hub docs CTA, Valentus/AI search, and changelog backfill guidance from org docs automation notes.
  • Removes the newer Docs | Org and required CI header badge rules — they conflict with the established for-the-badge contributors/forks/stars/issues chrome and text Explore the docs » CTA.
  • Adds Explore the docs » to this repo’s README header (hub URL).

Test plan

  • Skim general/readme-layout.md — no Docs/CI shield mandates
  • Confirm README header still matches switchyard-style chrome + hub CTA

AMDphreak and others added 2 commits August 8, 2026 05:31
…tion notes.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Aug 8, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Documentation automation review

Verdict: The rule expansions are consistent, accurate against current org practice, and ready to merge. This PR dogfoods its own README guidance (hub Explore the docs » CTA) and correctly prefers that pattern over a separate Docs shield.

What looks good

  • Cross-file alignmentRULES.md, general/documentation.md, general/creator.md, general/readme-layout.md, and general/antora-docs-sites.md tell the same story on AsciiDoc defaults, Valentus + Lunr + AI search, one Antora site per org, changelog structure, and README chrome.
  • README change — Centered Explore the docs »https://docs.devcentr.org/agent-rules/ matches readme-layout.md and switchyard/readme-template convention.
  • Deliberate badge policy — Dropping mandatory Docs/CI shields avoids fighting the established for-the-badge contributors/forks/stars/issues row; docs discovery via text CTA is the right org pattern.
  • Agent load hintsgeneral/global.md now points agents at antora-docs-sites.md and readme-layout.md when those tasks arise.
  • Hub wiringagent-rules is already listed in dev-centr/docs antora-playbook.yml; README/docs URLs are correct.

Gaps to track (not blockers for this PR)

  1. Changelog dogfooding — This PR strengthens changelog rules but does not add a changelog to this repo. A follow-up PR adds docs/modules/ROOT/pages/changelog.adoc with backfilled entries from git history.
  2. Hub AI search — Rules now mandate @antora-supplemental/antora-search-chat, but dev-centr/docs playbook currently registers only @antora/lunr-extension. A separate dev-centr/docs PR should add the AI search extension (register Lunr first).
  3. Automation template drift — The documentation automation prompt still mentions a [Docs | Dev-Centr] badge; this PR correctly documents org preference for the text CTA instead. Consider updating the automation template to match.

Coverage

Area Codepaths / docs touched
README layout general/readme-layout.md, README.md
Antora publishing general/documentation.md, general/antora-docs-sites.md
Changelogs general/creator.md, RULES.md
Agent assembly RULES.md, general/global.md
Open in Web View Automation 

Sent by Cursor Automation: Generate docs

Comment thread general/documentation.md
- If the project uses **Antora**, follow the publishing and layout guidance in the Dev-Centr documentation repository: `dev-centr/devcentr` — see `docs/modules/publishing/pages/antora-deployment.adoc` for deployment-oriented details.
- **One Antora site per org** that already has a hub (e.g. https://docs.devcentr.org). Do not publish secondary per-repo Antora sites on GitHub Pages. Keep `docs/` in the product repo; **wire** into the hub playbook. See `general/antora-docs-sites.md`. Actively deduplicate when you find errant sites. Does **not** apply to mixtures of different docs systems (Antora + Fumadocs is fine).
- **One Antora site per org** that already has a hub (e.g. https://docs.devcentr.org). Do not publish secondary per-repo Antora sites on GitHub Pages. Keep `docs/` in the product repo; **wire** into the hub playbook. See `general/antora-docs-sites.md`. Actively deduplicate when you find errant sites. Does **not** apply to mixtures of different docs systems (Antora + Fumadocs is fine). Repo-local `antora-playbook.yml` for **preview/validation CI** is fine if it does **not** publish a second public site.
- **Search:** Enable `@antora/lunr-extension` on every published Antora site. Add the AI-assisted search/help layer from **`antora-supplemental`** — prefer [`@antora-supplemental/antora-search-chat`](https://github.com/antora-supplemental/antora-search-chat) (Lunr-first Search/Ask omnibox). Related: [`antora-ai-help-extension`](https://github.com/antora-supplemental/antora-ai-help-extension). Register Lunr before wrappers that depend on it.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good addition. Follow-up for dev-centr/docs: the hub antora-playbook.yml currently lists only @antora/lunr-extension under antora.extensions — not antora-search-chat. Rules here will read aspirational until that playbook PR lands. Register Lunr before any wrapper that depends on it.

Comment thread general/creator.md
- The changelog should contain a timeline with quick summaries and links to very detailed changelogs for each date in a `changelog-details` subfolder that names files by `date - title`.
- If you add docs afterward, update its changelog structure.
- Structure: an index page named **changelog** (timeline of dates + short summaries + links) and detail pages under `changelog-details/` named `date - title`. Wire the changelog into the active docs system (Antora nav, etc.) when docs exist.
- If no changelog exists, **create it** and **backfill** from observed functional changes in git history. Unpack commits when the subject line is too thin.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Strong guidance. This repo still lacked a changelog at PR open — a follow-up PR adds changelog.adoc + changelog-details/ backfilled from git history and wires it into nav/README per these rules.

Comment thread general/readme-layout.md

## Docs link (org repos)

For **organization** repositories with a README: include an **Explore the docs »** text link in the centered header (same pattern as `dev-centr/readme-template` / `switchyard`), pointing at the **org docs hub** component URL (e.g. `https://docs.devcentr.org/<component>/`), not a secondary per-repo Pages Antora site. Do **not** add a separate `Docs | Org` shield — that fights the established contributors/forks/stars/issues/(license) chrome.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Intentional and correct for Dev-Centr chrome. The documentation automation template still mentions a [Docs | Org] shield badge; this section is the canonical org rule — prefer Explore the docs » text link over an extra shield.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant